package com.dao;

import com.entity.News;
import com.entity.Type;

import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

public interface NewsDao {
    News selectNewsOne(Integer n_id);
    List<News> selectNewsAll();
    boolean insertNews(News news);
    boolean deleteNews(Integer n_id);
    boolean updateNews(News news);
    int selectCount();
}
